package com.itheima.service;

import com.itheima.pojo.Dept;

import java.util.List;

// 创建接口是为了 和 mapper层 解耦：利用：多态
public interface DeptService {
  public abstract List<Dept> getDeptList();

 public abstract void delDeptById(Integer id) throws Exception;

  public abstract  void insertDept(Dept dept);

    Dept getEmpById(Integer id);

    void updateDept(Dept dept);

    interface LoginController {
    }
}
